<?php

class main_Controller extends Controller {
    public function _default($params) {
        $user = TheUser::getInstance();
        $view = new main_View(false);
        $view->createView('mainpage',$user);
        return $view;
    }
    
    public function logout($params) {
        $view = new main_View(false);
        $view->createView('logout','');
        return $view;
    }
    
    public function wrongModule($params) {
        $view = new main_View(false);
        $view->createView('wrongModule','');
        return $view;
    }
}

?>
